package com.xc.h05.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName usermark
 */
@Data
public class Usermark implements Serializable {
    /**
     * 
     */
    private Long id;

    /**
     * 
     */
    private String marktext;

    /**
     * 
     */
    private Double markstar;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createtime;

    /**
     * 
     */
    private Long consultId;

    /**
     * 
     */
    private Long userId;

    /**
     * 
     */
    private Long appId;
    //用户--一对一
    private User user;
    //咨询师--一对一
    private Consult consult;

    private static final long serialVersionUID = 1L;
}